# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-aports
pkgver=1.1.0
pkgrel=0
pkgdesc="Lua modules for parsing aports tree"
url="https://dev.alpinelinux.org/archive/lua-aports/"
arch="noarch"
license="MIT"
depends="lua5.2-cjson lua5.2-filesystem lua5.2-optarg lua5.2"
replaces="abuild"
source="https://gitlab.alpinelinux.org/alpine/lua-aports/-/archive/v$pkgver/lua-aports-v$pkgver.tar.gz
	"
builddir="$srcdir/$pkgname-v$pkgver"

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="
961c54aba2078f6b9a6f40eeeab1d11c0f12f0f672f09860e8c93f9b378088ca8d0a6e1fc1c6936965744e1215874be526f95309a21a5d2fd52fb2688e09609b  lua-aports-v1.1.0.tar.gz
"
